Skip to content

Conversation

@aaronborden-rivianvw
Copy link

Fixes #15

I'm not a golang developer, so hopefully this is close enough to what you're looking for.

@aaronborden-rivianvw aaronborden-rivianvw changed the title Accpet HMAC key from file Accept HMAC key from file Jul 23, 2022
if err != nil {
return nil, err
}
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaronborden-rivian Can you run go fmt for this file?

go fmt automatically formats Go files to ensure that they're always consistent. I probably should add a CI linter job to detect this.

@saracen
Copy link
Owner

saracen commented Aug 11, 2022

@aaronborden-rivian This looks great, there's just one change to make.

We should probably update New() to use functional options, so that the parameter list doesn't grow too be too large over time if new options need to be added.

If you'd like to take a stab at this in this PR, you're welcome to do so, but if not, I'll merge this and add the functional options myself before tagging a new release. I should probably update the version of Go used to build the binaries too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LFS: Client error when using multi-replica lfscache from invalid hmac signature

2 participants